package net.hn.hnms.biz.energy.service;

import net.hn.hnms.biz.energy.domain.ElectricitySettlement;
import net.hn.hnms.biz.energy.request.ElectricitySettlementReq;
import net.hn.hnms.biz.energy.vo.ElectricitySettlementVo;
import net.hn.hnms.biz.energy.vo.ElectricitySettlementVo1;
import net.hn.hnms.sys.common.core.domain.ResponsePage;
import net.hn.hnms.sys.common.mybatis.core.page.PageQuery;

import java.util.List;

public interface ElectricitySettlementService {
    /**
     * 新增
     * @param electricitySettlementReq
     * @return
     */
    int insert(ElectricitySettlementReq electricitySettlementReq);

    /**
     * 删除用电地点电单价设置
     * @param idList
     */
    void updateDeleteByIds(List<String> idList);
    /**
     * 单个更新 根据id主键 更新用水结算
     * @param electricitySettlementReq
     */
    void updateById(ElectricitySettlementReq electricitySettlementReq);
    /**
     *
     * @param id
     * 通过主键id 查询详情
     */
    ElectricitySettlement selectDetailById(String id);
    /**
     *
     * @param electricitySettlementReq
     * 列表
     */
    ResponsePage<ElectricitySettlementVo1> selectPageList(ElectricitySettlementReq electricitySettlementReq, PageQuery pageQuery);

    List<ElectricitySettlementVo> getEachTeamKwh(ElectricitySettlementReq req);
    List<ElectricitySettlementVo> getEachYearKwh(ElectricitySettlementReq req);
}
